home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60rt.lha / Vim / vim60 / ftplugin / dosbatch.vim < prev    next >
Encoding:
Text File  |  2001-09-24  |  590 b   |  22 lines

  1. " Vim filetype plugin file
  2. " Language:    MS-DOS .bat files
  3. " Maintainer:  Mike Williams <mrw@netcomuk.co.uk>
  4. " Last Change: 24th August 2001
  5.  
  6. " Only do this when not done yet for this buffer
  7. if exists("b:did_ftplugin")
  8.   finish
  9. endif
  10.  
  11. " Don't load another plugin for this buffer
  12. let b:did_ftplugin = 1
  13.  
  14. " BAT comment formatting
  15. setlocal comments=b:rem,b:REM,b:::
  16. setlocal formatoptions-=t formatoptions+=rol
  17.  
  18. " Define patterns for the browse file filter
  19. if has("gui_win32") && !exists("b:browsefilter")
  20.   let b:browsefilter = "DOS Batch Files (*.bat)\t*.bat\nAll Files (*.*)\t*.*\n"
  21. endif
  22.